import request from '@/utils/request'
// 登录
export const login = data => request.post('/sys/login', data)
// 获取用户信息
export const getUserInfo = () => request.post('/sys/profile')
// 获取用户基本信息
export const getBasicInfo = (id) => request.get('/sys/user/' + id)
// 获取员工基本信息
export const getUserDetailById = (id) => request.get(`/sys/user/${id}`)

